package JavaHomework02;

import java.util.Random;

public class zuoye03 {
	public static void main(String[] args){
		int[] arr={1,2,3,4,5};
		Random r=new Random();	

		for(int i=0;i<arr.length;i++){
			int a = r.nextInt(arr.length-1);
			int temp = arr[i];
			arr[i] =arr[a];
			arr[a] = temp;
		}
	
		for(int j = 0;j<arr.length;j++){
			System.out.print(arr[j]);
		}
	}
}
